$OpenBSD: patch-src_Makefile_in,v 1.13 2014/10/02 13:27:33 sthen Exp $
--- src/Makefile.in.orig	Mon Sep 29 23:46:44 2014
+++ src/Makefile.in	Wed Oct  1 21:46:35 2014
@@ -542,7 +542,7 @@ include_HEADERS = rrd.h rrd_format.h rrd_client.h
 rrdcgi_SOURCES = rrd_cgi.c
 rrdcgi_LDADD = librrd.la
 rrdupdate_SOURCES = rrdupdate.c
-rrdupdate_LDADD = librrdupd.la
+rrdupdate_LDADD = librrdupd.la -lpthread
 rrdtool_SOURCES = rrd_tool.c
 rrdtool_DEPENDENCIES = librrd.la
 rrdtool_LDADD = librrd.la
